from .simple_io import SimpleIo

class Blowing:
    """
    照明操作
    """

    def __init__(self, channel_index=None):
        self.blowing_io = SimpleIo("Blowing", channel_index)

    def start(self):
        self.blowing_io.set_true()

    def close(self):
        self.blowing_io.set_false()

    def is_blowing(self):
        return self.blowing_io.read_state()
